package cn.edu.tju.se.auth.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "shopcart")
public class ShopcartController {

//    @Autowired
//    private ShopcartRepository shopcartRepository;
//
//    @PostMapping(path = "addShopcart")
//    public void addShopcart(@RequestBody Shopcart shopcart){
//        shopcartRepository.save(shopcart);
//    }
//
//    @DeleteMapping(path = "deleteShopcart")
//    public void deleteShopcart(@RequestBody Shopcart shopcart){
//        shopcartRepository.delete(shopcart);
//    }

}
